package day5;

import java.io.File;

/**
 * @author oldliu
 * @since 1.0
 */
public class File3Test3 {
    public static void main(String[] args) {
        File f=new File("F:/java76/yangshuo/ch1");
        System.out.println(f.exists());
        if(!f.exists())
            f.mkdirs();//创建一个目录
        else {
            boolean delete = f.delete();
            System.out.println("删除成功了？"+delete);
        }
    }
}
